package com.example.it.looker.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by 鲁迅认识的那只猹 on 9/4/2017 4:48 PM.
 * Emial 1258730808@qq.com
 * Desc:
 */

public class DateUtil {
    private static SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");

    public static String format(Date date) {
        String str = format.format(date);
        return str;
    }
}
